<template>
    <div>
      <sheader v-if="isLogin"></sheader>
      <settingheader v-else></settingheader>
      <ul>
        <li>我是买家</li>
        <li>我是卖家</li>
      </ul>
      <dl>
        <dt><span>&#xe60e;</span></dt>
        <dd>我租到的</dd>
      </dl>
      <dl>
        <dt><span>&#xe601;</span></dt>
        <dd>收藏关注</dd>
      </dl>
      <dl>
        <dt><span>&#xe600;</span></dt>
        <dd>我的社区</dd>
      </dl>
      <dl>
        <dt><span>&#xe678;</span></dt>
        <dd>我的订单</dd>
      </dl>
      <div class="msg">
        <Cell title="0元抽hermes"  is-link></Cell>
        <Cell title="夺包中奖订单"  is-link></Cell>
        <Cell title="我的点心"  is-link></Cell>
        <Cell title="活动报名"  is-link></Cell>
        <Cell title="心上客服"  is-link></Cell>
        <Cell title="帮助中心"  is-link></Cell>
        <Cell title="新人福利"  is-link></Cell>
        <Cell title="拍卖资格"  is-link></Cell>
        <Cell title="邀请好友"  is-link></Cell>
        <Cell title="福利领取"  is-link></Cell>
        <Cell title="商家券发中"  is-link></Cell>
        <Cell title="其他"  is-link></Cell>

      </div>
    </div>
</template>

<script>
import { Cell } from 'mint-ui'
import 'mint-ui/lib/style.css'
import {
  mapGetters
} from 'vuex'
import sheader from '@/components/sheader'
import settingheader from '@/components/Settingheader'
export default {
  name: 'Setting',
  components: {
    sheader,
    settingheader,
    Cell
  },
  computed: {
    ...mapGetters(['isLogin'])
  }

}
</script>

<style lang='scss'>
@font-face {
  font-family: 'iconfont';  /* project id 931790 */
  src: url('//at.alicdn.com/t/font_931790_wdge2pny96i.eot');
  src: url('//at.alicdn.com/t/font_931790_wdge2pny96i.eot?#iefix') format('embedded-opentype'),
  url('//at.alicdn.com/t/font_931790_wdge2pny96i.woff') format('woff'),
  url('//at.alicdn.com/t/font_931790_wdge2pny96i.ttf') format('truetype'),
  url('//at.alicdn.com/t/font_931790_wdge2pny96i.svg#iconfont') format('svg');
}
ul li{
  float: left;
  width: 50%;
  height: 50px;
  line-height: 50px;
  text-align: center;
  &:hover{
    color: pink;
  }
}
dl{
  float: left;
  margin-right: 20px;
  margin-left: 13px;
  dt{
    text-align: center;
    span{
      font-family: iconfont;
      font-size: 20px;
    }
  }
  dd{
    font-size: 15px;
  }
}
// 不加宽度的时候mintui出不来
.msg{
  width: 100%;
  margin-top: 119px;
  padding-left: 20px;
  a{
    width: 100%;
    // margin-left: 0;
  }
}
</style>
